<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <#include "../common.ftl">
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">
    <div class="layui-form-item">

        <input name="id" type="hidden" value="${(empDept.id)!}"/>
        <input name="deptId" type="hidden" value="${(empDept.deptId)!}"/>

        <label class="layui-form-label">部门名称</label>
        <div class="layui-input-block">
            <input type="text" name="deptName" lay-verify="required" autocomplete="off" placeholder="请输入部门名称"
                   class="layui-input" value="${(empDept.deptBean.deptName)!}">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">职位描述</label>
        <div class="layui-input-block">
            <input type="text" name="deptPosition" lay-verify="title" autocomplete="off" placeholder="主要职位描述"
                   class="layui-input" value="${(empDept.deptBean.deptPosition)!}">
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="addOrUpdateDept">立即提交</button>
            <button class="layui-btn layui-btn-lg layui-btn-normal" id="closeBtn">取消</button>
        </div>
    </div>
</form>
<script type="text/javascript" src="${ctx}/layuimini/js/dept/add.update.js"></script>
</body>
</html>